<%--
    Document   : nuevo
    Created on : 19/09/2009, 02:27:59 PM
    Author     : Freddy
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%
        request.setAttribute("nombrePagina", "Plantilla");
%>
<f:view>
    <%@include file="/WEB-INF/jspf/header.jspf" %>

    <%@include file="/WEB-INF/jspf/breadcumbs.jspf" %>

    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Actualizar P&oacute;lizas de Seguro</title>
        </head>
        <body>
            <h1>Gesti&oacute;n de P&oacute;lizas de Seguro</h1>
            <h2>Registro de P&oacute;lizas de Seguro</h2>
            <h:messages id="messages" styleClass="messages_content" layout="table" errorClass="error" warnClass="warn" infoClass="info"/>
            <h:form>
                <fieldset>
                    <legend>Datos Garantia</legend>
                    <h:panelGrid columns="1">
                        <h:panelGrid columns="2">
                            <h:outputLabel for="idGarantia" value="Código Garantia: " />
                            <h:outputText id="idGarantia" value="#{SeguroController.seguro.garantia.idGarantia}" />
                              
                             <h:outputLabel for="idTipoGar" value="Tipo Garantia: " />
                             <h:outputText id="idTipoGar" value="#{SeguroController.seguro.garantia.tipogarantia}" />
                        
                             <h:outputLabel for="txtCliente" value="Cliente: " />
                             <h:outputText id="txtCliente" value="#{SeguroController.seguro.garantia.cliente.nombrePersona} #{SeguroController.seguro.garantia.cliente.apePaternoPersona} #{SeguroController.seguro.garantia.cliente.apeMaternoPersona}" />
                        
                             <h:outputLabel for="txtEstado" value="Estado: " />
                             <h:outputText id="txtEstado"  value="#{SeguroController.seguro.garantia.estadoGarantia.nombre}" />
                        </h:panelGrid>
                    </h:panelGrid>
                </fieldset>
                <h:panelGrid columns="2">
                    <h:commandButton value="Volver" action="volver" />
                    <h:commandButton value="Continuar" action="continuar" />
                </h:panelGrid>
            </h:form>
        </body>
    </html>
    <%@include file="/WEB-INF/jspf/footer.jspf" %>
</f:view>
